package cn.zsb.g;
import java.util.*;
/**
 * @author oldliu
 * @since 1.0
 */
public class Gardon {
    private String name;
    private String tele;

    //花的品种
    private List<String> flowers=new ArrayList<>();
    //员工
    private Map<String,String> emps=new HashMap<>(0);
    //其他信息
    private Properties prop=new Properties();
    public void show(){
        System.out.println("这个花园名叫"+this.name+",电话是："+tele);
        System.out.println("培养的品种有："+this.flowers);
        System.out.println("有员工"+this.emps.size()+"人：");
        System.out.println(this.emps);
        System.out.println("其他信息：");
        System.out.println(this.prop);
    }

    public void setProp(Properties prop) {
        this.prop = prop;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setTele(String tele) {
        this.tele = tele;
    }

    public void setFlowers(List<String> flowers) {
        this.flowers = flowers;
    }

    public void setEmps(Map<String, String> emps) {
        this.emps = emps;
    }
}
